<?php
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
use yii\helpers\Url;
//面包屑
$this->title = '文章列表';
$this->params['breadcrumbs'][] = $this->title;
?>

<div class="row">
    <div class="col-lg-9">
        <div class="panel-title box-title">
            <span>文章列表</span>
        </div>
        <div class="panel-body">
            <ul style="">


                <?php foreach($list as $info):?>
                    <li>
                        <a href="<?=Url::to(['post/view','id'=>$info['id']])?>">
                            <div>
                                <span><?= $info['label_img']?></span>
                                <span><?= $info['title']?></span>
                                <span><?= $info['user_name']?></span>
                                <span><?= $info['summary']?></span>
                                <span><?= date('Y-m-d',$info['created_at'])?></span>
                            </div>
                        </a>
                    </li>
                <?php endforeach;?>
            </ul>
        </div>
    </div>
    <div class="col-lg-3">
        <div class="panel-title box-title">
            <span>注意事项</span>
        </div>
        <div class="panel-body">
            <p>1.aaaaaa</p>
            <p>2.aaaaaa</p>
        </div>
    </div>
</div>
